<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script language="JavaScript">
<!--

	function valida_form() {

		var evento = document.del_evento.evento.value;

		if (evento == "") {
			alert("Insira o evento!");
			document.del_evento.evento.focus();
			return false;
		} else {
			
			document.forms[0].action = '/cad_evento/ServletDeletaEvento';
			document.forms[0].submit();
		}

	}
	-->
</script>
<title>Deletar Usuario</title>
</head>
<body>
	<!-- Formulario Cadastro Evento -->
	<form method="get" name="del_evento" id="del_evento"
		action="">
		Evento.: <input type="text" name="evento" id="evento"><br>
		<input type="submit" value="Deletar" onclick="valida_form();">
	</form>
</body>
</html>